package com.itheima.test03;
/*
1. 请定义一个Student类，属性：姓名、性别、年龄、分数
	   无参、全参构造方法
	   get/set方法
 */
public class Student {
    private String name;
    private String gender;
    private int age;
    private int scroe;

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", gender='" + gender + '\'' +
                ", age=" + age +
                ", scroe=" + scroe +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public int getScroe() {
        return scroe;
    }

    public void setScroe(int scroe) {
        this.scroe = scroe;
    }

    public Student(String name, String gender, int age, int scroe) {

        this.name = name;
        this.gender = gender;
        this.age = age;
        this.scroe = scroe;
    }

    public Student() {

    }
}
